<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="modal fade" id="borrowModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h3 id="myModalLabel">购买信息</h3>
            </div>
            <div class="modal-body">
                <form id="borrowBook" action="${pageContext.request.contextPath}/addBuy" method="post">
                    <table class="table table-bordered table-striped" width="800px">
                        <span><input type="hidden" id="bid" name="id"></span>
                        <tr>
                            <td>姓名</td>
                            <td><label for="name"></label><input class="form-control" type="text" name="name" id="name" placeholder="请输入顾客的姓名"></td>
                            <td>性别</td>
                            <td>
                                <input  type="radio" checked="checked" name="sex" value="男">男
                                <input type="radio" id="woman" name="sex" value="女">女
                            </td>
                        </tr>
                        <tr>
                            <td>年龄</td>
                            <td><label for="age"></label><input class="form-control" value="0" name="age" id="age" placeholder="请输入顾客的年龄"></td>
                            <td>电话</td>
                            <td><label for="phone"></label><input class="form-control" name="phone" id="phone" placeholder="请输入顾客的电话"></td>
                        </tr>
                        <tr>
                            <td>症状</td>
                            <td><label for="csymptom"></label><input class="form-control" name="csymptom" id="csymptom" placeholder="请描述症状"></td>
                            <td>购买药品的编号</td>
                            <td>
                                <label for="mid"></label><input class="form-control"  name="mid" id="mid" placeholder="请输入药品的编号" value="0">
<%--                                <select name="select">//下拉列表--%>
<%--                                    <option>--请选择--</option>--%>
<%--                                    <option value="option1" selected="selected">药品1</option>--%>
<%--                                    <option value="option2">药品2</option>--%>
<%--                                    <option value="option3">药品3</option>--%>
<%--                                    <option value="option3">药品4</option>--%>
<%--                                </select>--%>
                            </td>
                        </tr>
                        <tr>
                            <td>购买数量</td>
                            <td><label for="num"></label><input class="form-control" name="num" id="num" type="number"value="${1}"></td>
                            <td>工作人员</td>
                            <td><label for="ano"></label><input class="form-control" name="ano" id="ano" value="${user_session.uid}" readonly></td>
                        </tr>
                        <tr>
                            <td>
                                <input type="submit" value="添加">
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
